package com.example.sport.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
@TableName("t_college")
public class College {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String leader;

    @TableField(exist = false)
    private Integer totalPoints;

    @TableField(exist = false)
    private Integer totalRank;


}